package com.guigu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.pojo.PurchaseInfo;

import java.util.List;
import java.util.Map;

public interface PurchaseInfoService extends IService<PurchaseInfo> {

    //添加采购单
    Map addPurchaseInfo(List<PurchaseInfo> purchaseList);

    //获取采购单编号
    List<String> getIds(String str);

    //分页及所有
    Page<PurchaseInfo> queryAllPurchase(PurchaseInfo purchase, Integer pageno, Integer pagesize);

    //审核采购单
    Map changeIsAudit(PurchaseInfo purchase);

    //签收采购单【确认是否送到总店】
    Map purchaseOrderSigned(PurchaseInfo purchase);
}
